package cn.jbolt.ai.core.fileSplit;

import java.io.File;


/**
 * 文件分块结果
 */
public class FileSplitResult {

    /**缓存分块的临时文件，最后要删掉*/
    private File tempFile;

    private int splitCount;

    public FileSplitResult(File tempFile) {
        this.tempFile = tempFile;
    }

    public void addSplitCount(int count) {
        this.splitCount+=1;
    }



    public File getTempFile() {
        return tempFile;
    }

    public void setTempFile(File tempFile) {
        this.tempFile = tempFile;
    }

    public int getSplitCount() {
        return splitCount;
    }

    public void setSplitCount(int splitCount) {
        this.splitCount = splitCount;
    }
}
